package link.anyauto.dtbinding.base;

import android.app.Application;

/**
 * Created by LYQ on 2016/7/26.
 */
public class App extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        app = this;
    }

    static App app;

    public static App getApp() {
        return app;
    }

    public static String getStr(int resId) {
        return app.getString(resId);
    }

    public static String getStr(int resId, Object... args) {
        return app.getString(resId, args);
    }
}
